package cn.platform.request.StuRecord;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class StuRecordQueryDTO {
    private Integer id;
    private String title ;
    private String publisher;
    private Integer grade;
    private Integer classNum;

    private String studentName;// 添加学生姓名查询字段
    private Integer gradeYear;



    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate startTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate endTime;

//    private Integer gradeYear;

    private Integer page=1;
    private Integer pageSize=10;
    private String type;

//    public Object getGradeYear() {
//        return null;
//    }

    private String content;
    private Integer studentId;
    private Integer pubId;      // 发布人ID

}